package spring.demo12.client;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import spring.demo.inter.MyRMIInterface;

public class HttpInvockeMain {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("SpringContext3.xml");
		Object o = context.getBean("remoteClient");
		MyRMIInterface imp = (MyRMIInterface) o;
		System.out.println(imp.getName());
	}
}
